
<!DOCTYPE html>
<html>

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>农学院</title>
	<script src="__INDEX__/tem/js/mui.min.js"></script>
	<link href="__INDEX__/tem/css/mui.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="__INDEX__/tem/css/style.css" />
	<link rel="stylesheet" href="__INDEX__/tem/css/iconfont.css" />
	<link rel="stylesheet" href="__INDEX__/tem/css/xn.css" />
	<script type="text/javascript" charset="utf-8">
		mui.init();
	</script>
</head>

<body>
	<header class="mui-bar mui-bar-nav">
	    <h1 class="mui-title">农学院</h1>
	</header>
	<div class="mui-content">
		<div id="slider" class="mui-slider">
			<div class="mui-slider-group mui-slider-loop">
				<!-- 额外增加的一个节点(循环轮播：第一个节点是最后一张轮播) -->
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="#">
						<img src="__IMG__/ad/college/3.png">
					</a>
				</div>
				<!-- 第一张 -->
				<div class="mui-slider-item">
					<a href="#">
						<img src="__IMG__/ad/college/1.png">
					</a>
				</div>
				<!-- 第二张 -->
				<div class="mui-slider-item">
					<a href="#">
						<img src="__IMG__/ad/college/2.png">
					</a>
				</div>
				<!-- 第三张 -->
				<div class="mui-slider-item">
					<a href="#">
						<img src="__IMG__/ad/college/3.png">
					</a>
				</div>
				<!-- 额外增加的一个节点(循环轮播：最后一个节点是第一张轮播) -->
				<div class="mui-slider-item mui-slider-item-duplicate">
					<a href="#">
						<img src="__IMG__/ad/college/1.png">
					</a>
				</div>
			</div>
			<div class="mui-slider-indicator">
				<div class="mui-indicator mui-active"></div>
				<div class="mui-indicator"></div>
				<div class="mui-indicator"></div>
			</div>
		</div>
		<ul class="mui-table-view mui-grid-view mui-grid-9 nxy_nav">
			<li class="mui-table-view-cell mui-media">
			    <a href="{:url('college/sxy',['fid'=>1])}">
			        <span class="mui-icon iconfont icon-nongyejishua"></span>
			        <div class="mui-media-body">农技知识</div>
			    </a>
			</li>
			<li class="mui-table-view-cell mui-media">
			    <a href="{:url('college/sxy',['fid'=>2])}">
			        <span class="mui-icon iconfont icon-dianshang"></span>
			        <div class="mui-media-body">电商知识</div>
			    </a>
			</li>
			<li class="mui-table-view-cell mui-media">
			    <a href="{:url('college/vedio')}">
			        <span class="mui-icon iconfont icon-icon02"></span>
			        <div class="mui-media-body">视频中心</div>
			    </a>
			</li>
			<li class="mui-table-view-cell mui-media">
			    <a href="{:url('college/expert')}">
			        <span class="mui-icon iconfont icon-zhuanjia"></span>
			        <div class="mui-media-body">专家团</div>
			    </a>
			</li>
	    </ul>
		<div class="nxy_vidbox">
			<div class="nxy_vid_top">
				<div class="left">
					<div class="nxy_vidbtbox">
						<a href="{:url('college/vedio')}" class="clearfix">
							<span class="nxy_vidbt">视频中心</span>
							<span class="more">更多》</span>
						</a>
					</div>
					<div class="nxy_vidzt">
						<a href="{:url('college/vedio')}">
							<p><img src="__INDEX__/tem/images/video.jpg"></p>
							<p class="tip">{$vedionum|default='0'}个视频</p>
						</a>
					</div>
				</div>
				<div class="right">
					<div class="nxy_viditem">
						<div class="nxy_iteml">
							<a href="{:url('college/vedio',['cate_id'=>11])}">
								<p class="nxy_itembt">养殖视频中心</p>
								<p class="tip">专业养殖</p>
								<p class="btn"><img src="__INDEX__/tem/images/go.jpg"></p>
							</a>
						</div>
						<div class="nxy_itemr"><a href="#"><img src="__INDEX__/tem/images/cp.jpg"></a></div>
					</div>
					<div class="nxy_viditem blue">
						<div class="nxy_iteml">
							<a href="{:url('college/vedio',['cate_id'=>9])}">
								<p class="nxy_itembt">种植视频中心</p>
								<p class="tip">专业种植</p>
								<p class="btn"><img src="__INDEX__/tem/images/go2.jpg"></p>
							</a>
						</div>
						<div class="nxy_itemr"><a href="#"><img src="__INDEX__/tem/images/cp.jpg"></a></div>
					</div>
				</div>
			</div>
			<ul class="nxy_vidlist">
				{volist name="list" id="vo" empty="没有数据"}
				<li>
					<a href="{:url('college/vedio_show',['id'=>$vo.id])}">
						<div class="nxy_vidimg"><img src="{$vo.thumb|default='__IMG__/logo1.png'}"></div>
						<div class="nxy_vidnrbox">
							<p class="nxy_vidlisbt">{$vo.title}</p>
							<div class="timebox">
								<span><em class="iconfont icon-yanjing"></em>{$vo.clicks}</span>
								<span class="time">{$vo.add_time|substr=0,10}</span>
							</div>
						</div>
					</a>
				</li>
				{/volist}
			</ul>
		</div>
		<div class="ad"><img src="__INDEX__/tem/images/ad.jpg"></div>
		<div class="nxy_vidbox nxy_zjbox">
			<div class="nxy_vid_top">
				<div class="left">
					<a href="{:url('ask/add')}"><img src="__INDEX__/tem/images/zjt.jpg"></a>
				</div>
				<div class="right">
					<div class="nxy_viditem">
						<div class="nxy_iteml">
							<a href="{:url('college/expert',['cate_id'=>1])}">
								<p class="nxy_itembt">种植区</p>
								<p class="btn">
									<span>专家推荐</span>
									<span><img src="__INDEX__/tem/images/go3.jpg"></span>
								</p>
							</a>
						</div>
						<div class="nxy_itemr"><a href="{:url('college/expert',['cate_id'=>1])}"><img src="__INDEX__/tem/images/cp.jpg"></a></div>
					</div>
					<div class="nxy_viditem green">
						<div class="nxy_iteml">
							<a href="{:url('college/expert',['cate_id'=>2])}">
								<p class="nxy_itembt">养殖区</p>
								<p class="btn">
									<span>专家推荐</span>
									<span><img src="__INDEX__/tem/images/go4.jpg"></span>
								</p>
							</a>
						</div>
						<div class="nxy_itemr"><a href="{:url('college/expert',['cate_id'=>2])}"><img src="__INDEX__/tem/images/cp.jpg"></a></div>
					</div>
				</div>
			</div>
			<ul class="nxy_zjlist">
				{volist name="expert" id="vo"}
				<li>
					<a href="{:url('college/expert_show',['id'=>$vo.id])}">
						<div class="nxy_zjimg"><img src="{$vo.thumb|default='__IMG__/member.jpg'}"></div>
						<div class="nxy_zjnrbox">
							<div class="nxy_zjnambox">
								<span class="nxy_zjnam">{$vo.name}</span>
								<span class="nxy_zjlevel">{$vo.cate_id|get_expert_type}专家</span>
							</div>
							<p class="nxy_zjjs">专业特长：{$vo.professional}</p>
						</div>
					</a>
				</li>
				{/volist}
			</ul>
		</div>
		<div class="ad"><img src="__INDEX__/tem/images/ad2.jpg"></div>
		<div class="nxy_vidbox nxy_zjzxbox">
			<div class="qbz_btop">
				<div class="left"><img src="__INDEX__/tem/images/zjzxbt.jpg"></div>
				<div class="right">
					<div class="xfz_new">
							<a href="{:url('news/news_show',['id'=>$newstop1.id])}">
							<span class="tip">最新</span>
							<span>{$newstop1.title|mb_substr=0,17,'UTF-8'}</span>
							</a>
						</div>
						<div class="xfz_new hot">
							<a href="{:url('news/news_show',['id'=>$newstop2.id])}">
							<span class="tip">最热</span>
							<span>{$newstop2.title|mb_substr=0,17,'UTF-8'}</span>
							</a>
						</div>
				</div>
			</div>
			<div class="nxy_zjzxad clearfix">
				<span><a href="{:url('ask/index')}"><img src="__INDEX__/tem/images/jxwd.jpg"></a></span>
				<span><a href="{:url('ask/index')}"><img src="__INDEX__/tem/images/rmwd.jpg"></a></span>
			</div>
			{foreach name='ask' id='vo'}
			<div class="zjwd_item">
				<a href="{:url('ask/show',['id'=>$vo.id])}">
				<div class="zjtw_imgbox">
					<div class="zjtw_img"><img src="{$vo.thumb|default='__IMG__/logo1.png'}"></div>
					<div class="zjtw_nambox">
						<p class="name"><em>{$vo.nick_name|default='未填写昵称'}</em>问：</p>
						<p class="time">{$vo.add_time|substr=0,10}</p>
					</div>
				</div>
				<div class="zjtw_nrbox">
					<div class="zjtw_wt">{$vo.content}</div>
					<div class="zjtw_wtimg">
						{php}$imgs=explode(',', $vo['thumbs']);{/php} {if $vo.thumbs}{foreach name='imgs' id='img'}
								<img src="{$img}" /> {/foreach}{/if}
					</div>
					<div class="zjtw_hfbox">
						<span class="tip">标签：{$vo.hy_id|get_newscate}</span>
						<span class="huif" style="margin-left: 10px;"><em class="iconfont icon-xiaoxi"></em>{$vo.replys}</span>
						<span class="huif"><em class="iconfont icon-yanjing"></em>{$vo.clicks}</span>
					</div>
				</div>
				</a>
			</div>
			{/foreach}
		</div>

	</div>
	<div style="position: fixed;right: 10px; bottom: 60px;filter:alpha(Opacity=50);-moz-opacity:0.8;opacity: 0.8; width: 35px;padding-top: 2px; height: 35px;background: #008000; text-align: center;line-height: 14px;font-size: 9px;">
			<a href="{:url('ask/add')}" style="color: #FFFFFF;">咨询<br />专家</a>
		</div>
</body>
<script>
	var gallery = mui('.mui-slider');
	gallery.slider({
		interval: 3000 //自动轮播周期，若为0则不自动播放，默认为0；
	});
	var aniShow = "pop-in";
	//页面跳转
	mui('#footer-list').on('tap', 'a', function() {
		var id = this.getAttribute('href');
		var href = this.href;
		mui.openWindow({
			id: id,
			url: this.href,
			show: {
				aniShow: aniShow
			},
			waiting: {
				autoShow: false
			}
		});
	});
</script>

</html>